package router

import (
	"cgs-server/server"
	"cgs-server/server/cgs/notice/api"
)

func initNoticeRouter() {
	server.Get("/api/notice/list", api.List, "Get Notice List", server.Login)
	server.Get("/api/notice/count", api.Count, "Get Notice Count", server.Login)
	server.Post("/api/notice/clear", api.Clear, "Clear Notice", server.Login)
	server.Post("/api/notice/send", api.Send, "Send Notice manually", server.Login)
}
